package org.zsk.cs.aop.introduction;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.DeclareParents;
import org.springframework.stereotype.Component;
import org.zsk.cs.aop.introduction.service.DoSthService;
import org.zsk.cs.aop.introduction.service.DoSthServiceImpl;

/**
 * @author zsk
 * 2021/3/8 下午2:26
 */
@Aspect
@Component
public class IntroductionAop {

    @DeclareParents(value = "org.zsk.cs.aop..service..*", defaultImpl = DoSthServiceImpl.class)
    public DoSthService doSthService;

}

